// -*- IDL -*-
//
// $Id$

/**
 *
 *   This file was used to generate the code in
 *   IIOP*.* The command used to generate code
 *   is:
 *
 *     tao_idl \
 *        -o orig -Gp -Gd -GA -Sci
 *          -Wb,export_macro=TAO_Export \
 *          -Wb,export_include="tao/TAO_Export.h" \
 *          -Wb,pre_include="ace/pre.h" \
 *          -Wb,post_include="ace/post.h" \
 *          -Wb,versioning_begin=TAO_BEGIN_VERSIONED_NAMESPACE_DECL \
 *          -Wb,versioning_end=TAO_END_VERSIONED_NAMESPACE_DECL \
 *          IIOP.pidl
 *
 *   Remember to patch the generated files using diff/IIOP.diff
 *   This is from the GIOP 1.2 spec for Bi Dir IIOP.
 */

#ifndef TAO_IIOP_PIDL
#define TAO_IIOP_PIDL

// This is a OMG specified IDL. When IIOP modules start getting
// complicated we may want to have them here.
#pragma prefix "omg.org"

#if !defined (TAO_LACKS_IIOP)

module IIOP
{
  struct ListenPoint
  {
    string host;
    unsigned short port;
  };

  typedef sequence<ListenPoint> ListenPointList;

  struct BiDirIIOPServiceContext
  {
    ListenPointList listen_points;
  };
};

#endif /* TAO_LACKS_IIOP */

#endif  /* TAO_IIOP_PIDL */
